package com.bdqn.ch02.service;

import com.bdqn.ch02.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface UserService {

    public List<User> getUserListService();

    public void addUserService(User user);

    public void deleteByUserId(Long id);

    public Page<User> findPageByMap(Map param, Pageable pageable);
}
